package com.canyou.redmine.model;

import java.util.List;

/**
 * Created by user on 2018/1/4.
 */

public class Issue {
    /**
     * id : 17172
     * project : {"id":247,"name":"北科生物干细胞存储CRM系统"}
     * tracker : {"id":2,"name":"实现"}
     * status : {"id":1,"name":"新建"}
     * priority : {"id":2,"name":"中"}
     * author : {"id":113,"name":"zsh 周水欢"}
     * assigned_to : {"id":113,"name":"zsh 周水欢"}
     * fixed_version : {"id":515,"name":"04平板端功能维护"}
     * subject : 平板端客户详情和合同详情添加客户备用邮箱，删除备用邮编
     * description : 平板端客户详情和合同详情添加客户备用邮箱，删除备用邮编
     * start_date : 2017-12-28
     * due_date : 2017-12-28
     * done_ratio : 100
     * estimated_hours : 1
     * custom_fields : [{"id":26,"name":"会议纪要","value":"0"}]
     * created_on : 2017-12-28T01:26:03Z
     * updated_on : 2017-12-28T01:26:14Z
     */

    private int id;
    private Bean project;//所属项目
    private Bean parent;
    private Bean tracker;//跟踪
    private Bean status;//状态
    private Bean priority;//优先级
    private Bean author;//创建者
    private Bean assigned_to;//指派
    private Bean fixed_version;
    private String subject;//主题
    private String description;//描述
    private String start_date;
    private String due_date;
    private int done_ratio;//完成（进度）
    private int estimated_hours;//工时
    private String created_on;
    private String updated_on;
    private List<CustomFields> custom_fields;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Bean getProject() {
        return project;
    }

    public void setProject(Bean project) {
        this.project = project;
    }

    public Bean getParent() {
        return parent;
    }

    public void setParent(Bean parent) {
        this.parent = parent;
    }

    public Bean getTracker() {
        return tracker;
    }

    public void setTracker(Bean tracker) {
        this.tracker = tracker;
    }

    public Bean getStatus() {
        return status;
    }

    public void setStatus(Bean status) {
        this.status = status;
    }

    public Bean getPriority() {
        return priority;
    }

    public void setPriority(Bean priority) {
        this.priority = priority;
    }

    public Bean getAuthor() {
        return author;
    }

    public void setAuthor(Bean author) {
        this.author = author;
    }

    public Bean getAssigned_to() {
        return assigned_to;
    }

    public void setAssigned_to(Bean assigned_to) {
        this.assigned_to = assigned_to;
    }

    public Bean getFixed_version() {
        return fixed_version;
    }

    public void setFixed_version(Bean fixed_version) {
        this.fixed_version = fixed_version;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getStart_date() {
        return start_date;
    }

    public void setStart_date(String start_date) {
        this.start_date = start_date;
    }

    public String getDue_date() {
        return due_date;
    }

    public void setDue_date(String due_date) {
        this.due_date = due_date;
    }

    public int getDone_ratio() {
        return done_ratio;
    }

    public void setDone_ratio(int done_ratio) {
        this.done_ratio = done_ratio;
    }

    public int getEstimated_hours() {
        return estimated_hours;
    }

    public void setEstimated_hours(int estimated_hours) {
        this.estimated_hours = estimated_hours;
    }

    public String getCreated_on() {
        return created_on;
    }

    public void setCreated_on(String created_on) {
        this.created_on = created_on;
    }

    public String getUpdated_on() {
        return updated_on;
    }

    public void setUpdated_on(String updated_on) {
        this.updated_on = updated_on;
    }

    public List<CustomFields> getCustom_fields() {
        return custom_fields;
    }

    public void setCustom_fields(List<CustomFields> custom_fields) {
        this.custom_fields = custom_fields;
    }
}
